[INFO] cloning repository https://github.com/harpocrates/notes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harpocrates/notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpocrates%2Fnotes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpocrates%2Fnotes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2ffd5908b2c7e79ea2a96ac32936618e507c0be
[INFO] checking harpocrates/notes against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpocrates%2Fnotes" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/harpocrates/notes on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/harpocrates/notes
[INFO] finished tweaking git repo https://github.com/harpocrates/notes
[INFO] tweaked toml for git repo https://github.com/harpocrates/notes written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/harpocrates/notes already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c81e07f504e3de64d32ae7985dd7ff71a1e4cb1b07513ad8cb19b34b226f0816
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c81e07f504e3de64d32ae7985dd7ff71a1e4cb1b07513ad8cb19b34b226f0816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c81e07f504e3de64d32ae7985dd7ff71a1e4cb1b07513ad8cb19b34b226f0816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c81e07f504e3de64d32ae7985dd7ff71a1e4cb1b07513ad8cb19b34b226f0816", kill_on_drop: false }`
[INFO] [stdout] c81e07f504e3de64d32ae7985dd7ff71a1e4cb1b07513ad8cb19b34b226f0816
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0bbc68158c22ac9fc9aa6d68466b1e8f11ec1eb36aa164c1bef6026eb672e0b2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0bbc68158c22ac9fc9aa6d68466b1e8f11ec1eb36aa164c1bef6026eb672e0b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking bytes v0.3.0
[INFO] [stderr]     Checking slab v0.1.3
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking open v1.4.0
[INFO] [stderr]    Compiling ws2_32-sys v0.2.1
[INFO] [stderr]     Checking walkdir v0.1.8
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking bincode v1.3.1
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking filetime v0.1.15
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking inotify v0.2.3
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking miow v0.1.5
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking mio v0.5.1
[INFO] [stderr]     Checking notify v2.6.3
[INFO] [stderr]     Checking notes v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `bincode::rustc_serialize`
[INFO] [stdout]  --> src/cli.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bincode::rustc_serialize::{encode_into, decode_from};
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ could not find `rustc_serialize` in `bincode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bincode::SizeLimit`
[INFO] [stdout]  --> src/cli.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bincode::SizeLimit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^ no `SizeLimit` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |   let mut file = try!(File::open(location).map_err(|_| Error::OpenCache));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |   let mut file = try!(File::create(location).map_err(|_| Error::CreateCache));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |   let mut home = try!(env::home_dir().ok_or(Error::HomeDir));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |   let mut home = try!(env::home_dir().ok_or(Error::HomeDir));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 |   let cache = try!(load_from_default_cache());
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 |   let old_cache = try!(load_from_default_cache());
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:140:3
[INFO] [stdout]     |
[INFO] [stdout] 140 |   try!(write_to_default_cache(&new_cache));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |   let body = try!(note::sanitize_path(matches.value_of("body").unwrap()));
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:171:3
[INFO] [stdout]     |
[INFO] [stdout] 171 |   try!(write_to_default_cache(&cache));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:182:19
[INFO] [stdout]     |
[INFO] [stdout] 182 |   let mut cache = try!(load_from_default_cache());
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:185:18
[INFO] [stdout]     |
[INFO] [stdout] 185 |   let old_note = try!(usize::from_str_radix(matches.value_of("id").unwrap(),16)
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:192:24
[INFO] [stdout]     |
[INFO] [stdout] 192 |     Some(body) => Some(try!(note::sanitize_path(body))),
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:209:3
[INFO] [stdout]     |
[INFO] [stdout] 209 |   try!(write_to_default_cache(&cache));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:222:15
[INFO] [stdout]     |
[INFO] [stdout] 222 |   let cache = try!(load_from_default_cache());
[INFO] [stdout]     |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:224:18
[INFO] [stdout]     |
[INFO] [stdout] 224 |   let mut file = try!(File::create(patharg).map_err(|_| Error::CreateExport));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:235:34
[INFO] [stdout]     |
[INFO] [stdout] 235 |   let to_save: Vec<note::Note> = try!(
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:239:18
[INFO] [stdout]     |
[INFO] [stdout] 239 |       let path = try!(canonicalize(patharg).map_err(|_| Error::Canonicalize(String::from(patharg))));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:264:17
[INFO] [stdout]     |
[INFO] [stdout] 264 |   let encoded = try!(json::encode(&to_save).map_err(|_| Error::JsonEncode));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:266:3
[INFO] [stdout]     |
[INFO] [stdout] 266 |   try!(file.write(encoded.as_bytes()).map_err(|_| Error::WriteExport));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:300:18
[INFO] [stdout]     |
[INFO] [stdout] 300 |   let mut file = try!(File::open(patharg).map_err(|_| Error::ReadExport));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:302:3
[INFO] [stdout]     |
[INFO] [stdout] 302 |   try!(file.read_to_string(&mut data).map_err(|_| Error::ReadExport));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:304:36
[INFO] [stdout]     |
[INFO] [stdout] 304 |   let to_import: Vec<note::Note> = try!(json::decode(&data).map_err(|_| Error::JsonDecode));
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:314:18
[INFO] [stdout]     |
[INFO] [stdout] 314 |       let path = try!(canonicalize(path1).map_err(|_| Error::Canonicalize(String::from(patharg))));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:316:20
[INFO] [stdout]     |
[INFO] [stdout] 316 |       String::from(try!(path.to_str().ok_or(Error::Canonicalize(String::from(patharg)))))
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:327:3
[INFO] [stdout]     |
[INFO] [stdout] 327 |   try!(write_to_default_cache(&cache));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bincode::rustc_serialize`
[INFO] [stdout]  --> src/cli.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bincode::rustc_serialize::{encode_into, decode_from};
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ could not find `rustc_serialize` in `bincode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Write` is imported redundantly
[INFO] [stdout]    --> src/cli.rs:106:32
[INFO] [stdout]     |
[INFO] [stdout] 10  | use std::io::{Read, Write};
[INFO] [stdout]     |                     ----- the item `Write` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 106 |     use std::io::{stdin,stdout,Write};
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bincode::SizeLimit`
[INFO] [stdout]  --> src/cli.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bincode::SizeLimit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^ no `SizeLimit` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Write` is imported redundantly
[INFO] [stdout]    --> src/cli.rs:275:32
[INFO] [stdout]     |
[INFO] [stdout] 10  | use std::io::{Read, Write};
[INFO] [stdout]     |                     ----- the item `Write` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 275 |     use std::io::{stdin,stdout,Write};
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |   let mut file = try!(File::open(location).map_err(|_| Error::OpenCache));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |   let mut file = try!(File::create(location).map_err(|_| Error::CreateCache));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |   let mut home = try!(env::home_dir().ok_or(Error::HomeDir));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |   let mut home = try!(env::home_dir().ok_or(Error::HomeDir));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/cli.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 |   let cache = try!(load_from_default_cache());
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 |   let old_cache = try!(load_from_default_cache());
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:140:3
[INFO] [stdout]     |
[INFO] [stdout] 140 |   try!(write_to_default_cache(&new_cache));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |   let body = try!(note::sanitize_path(matches.value_of("body").unwrap()));
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:171:3
[INFO] [stdout]     |
[INFO] [stdout] 171 |   try!(write_to_default_cache(&cache));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:182:19
[INFO] [stdout]     |
[INFO] [stdout] 182 |   let mut cache = try!(load_from_default_cache());
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:185:18
[INFO] [stdout]     |
[INFO] [stdout] 185 |   let old_note = try!(usize::from_str_radix(matches.value_of("id").unwrap(),16)
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:192:24
[INFO] [stdout]     |
[INFO] [stdout] 192 |     Some(body) => Some(try!(note::sanitize_path(body))),
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:209:3
[INFO] [stdout]     |
[INFO] [stdout] 209 |   try!(write_to_default_cache(&cache));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:222:15
[INFO] [stdout]     |
[INFO] [stdout] 222 |   let cache = try!(load_from_default_cache());
[INFO] [stdout]     |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:224:18
[INFO] [stdout]     |
[INFO] [stdout] 224 |   let mut file = try!(File::create(patharg).map_err(|_| Error::CreateExport));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:235:34
[INFO] [stdout]     |
[INFO] [stdout] 235 |   let to_save: Vec<note::Note> = try!(
[INFO] [stdout]     |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:239:18
[INFO] [stdout]     |
[INFO] [stdout] 239 |       let path = try!(canonicalize(patharg).map_err(|_| Error::Canonicalize(String::from(patharg))));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:264:17
[INFO] [stdout]     |
[INFO] [stdout] 264 |   let encoded = try!(json::encode(&to_save).map_err(|_| Error::JsonEncode));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:266:3
[INFO] [stdout]     |
[INFO] [stdout] 266 |   try!(file.write(encoded.as_bytes()).map_err(|_| Error::WriteExport));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:300:18
[INFO] [stdout]     |
[INFO] [stdout] 300 |   let mut file = try!(File::open(patharg).map_err(|_| Error::ReadExport));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:302:3
[INFO] [stdout]     |
[INFO] [stdout] 302 |   try!(file.read_to_string(&mut data).map_err(|_| Error::ReadExport));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:304:36
[INFO] [stdout]     |
[INFO] [stdout] 304 |   let to_import: Vec<note::Note> = try!(json::decode(&data).map_err(|_| Error::JsonDecode));
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:314:18
[INFO] [stdout]     |
[INFO] [stdout] 314 |       let path = try!(canonicalize(path1).map_err(|_| Error::Canonicalize(String::from(patharg))));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:316:20
[INFO] [stdout]     |
[INFO] [stdout] 316 |       String::from(try!(path.to_str().ok_or(Error::Canonicalize(String::from(patharg)))))
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/cli.rs:327:3
[INFO] [stdout]     |
[INFO] [stdout] 327 |   try!(write_to_default_cache(&cache));
[INFO] [stdout]     |   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Write` is imported redundantly
[INFO] [stdout]    --> src/cli.rs:106:32
[INFO] [stdout]     |
[INFO] [stdout] 10  | use std::io::{Read, Write};
[INFO] [stdout]     |                     ----- the item `Write` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 106 |     use std::io::{stdin,stdout,Write};
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Write` is imported redundantly
[INFO] [stdout]    --> src/cli.rs:275:32
[INFO] [stdout]     |
[INFO] [stdout] 10  | use std::io::{Read, Write};
[INFO] [stdout]     |                     ----- the item `Write` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 275 |     use std::io::{stdin,stdout,Write};
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/cli.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |   let mut home = try!(env::home_dir().ok_or(Error::HomeDir));
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/cli.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |   let mut home = try!(env::home_dir().ok_or(Error::HomeDir));
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/cli.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |   let mut home = try!(env::home_dir().ok_or(Error::HomeDir));
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/cli.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |   let mut home = try!(env::home_dir().ok_or(Error::HomeDir));
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `notes`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "0bbc68158c22ac9fc9aa6d68466b1e8f11ec1eb36aa164c1bef6026eb672e0b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bbc68158c22ac9fc9aa6d68466b1e8f11ec1eb36aa164c1bef6026eb672e0b2", kill_on_drop: false }`
[INFO] [stdout] 0bbc68158c22ac9fc9aa6d68466b1e8f11ec1eb36aa164c1bef6026eb672e0b2
